<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"
	import="java.util.*,com.stx.domain.*,com.stx.dao.*"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
	<link rel="stylesheet" href="./css/adminguanli.css">
</head>


	<div class="contrainer">
		<div class="wrap">
			<div class="header">
				<p>楼栋管理员管理</p>
			</div>
			<div class="mid">
				<!-- 上传excel文件模块 -->
				导入宿管表：<div class="anniu">
				浏览文件
				<input type="file" name = "excelFile" style="height:30px;width:60px;opacity: 0;position: absolute;top:0;left: 0;right: 0;bottom: 0;cursor: pointer;" />
			</div>
			</div>
			<div class="content">
				<table class="table">
					<thead class="text-primary">
					<th>序号</th>
					<th>工号</th>
					<th>姓名</th>
					<th>性别</th>
					<th>管理楼栋</th>
					<th>电话</th>
					<th>操作</th>

					<tbody>
<c:forEach items="${list}" var="teacher" varStatus="status">
	<tr>
	<td>${status.index+1}</td>
	<td>${teacher.no}</td>
	<td>${teacher.name}</td>
	<td>${teacher.sex}</td>
	<td>${teacher.building }</td>
	<td>${teacher.tel}</td>
	<td style="text-align: center">
	<%-- <a href="updateTeacher.do?name=${teacher.name}&tel=${teacher.tel}&no=${teacher.no}">修改</a> --%>
	<a href="deleteTeacher.do?no=${teacher.no}">删除</a></td>
	</tr>
</c:forEach>
					</tbody>
				</table>
			</div>
		</div>
	</div>
</body>
</html>
